<?php

namespace App\Http\Controllers\Api\V1\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class VipCatrgroyResource extends JsonResource
{
    public function toArray($request)
    {
    	$resource = $this->resource;

        $data = [
        	
        	'id' => $resource->id,
	        'name' => $resource->name,
	        'day' => $resource->day,
            'price_market' => $resource->price_market,
            'price_lowest' => $resource->price_lowest,
	        
        ];
        
        return $data;
    }
}
